var nn_server = 'http://synad2.nuffnang.com.cn';
var nn_home = 'http://www.nuffnang.com.cn';
var w = 336;
var ad_type = 'center';
var nn_id = 'nn_' + ad_type;
var h = nuffnang_bid;
var other_ad_type = new Array('leaderboard');
if( !document.getElementById( nn_id )){
 nn_html = "<div style='width:" + w + "px;margin:0 auto;border:none !important;text-align:center;'><div style='display:block' id='" + nn_id + "'></div><div id='nnadsfoot' style='width:336px !important; height:18px !important; display:block !important; text-align:right !important;'><a href='" + nn_home + "' target='_blank' title='Nuffnang Ads'><img border='0' src='" + nn_server + "/img/nuffnang_footer.gif' alt='Nuffnang Ads' /></a></div></div>";
 document.write( nn_html );
 if( document.getElementById('nn_' + other_ad_type[0] ) ) 	visit = 'novisit'; else visit = 'visit';
  var script = nn_server + "/nn_frame.php?bid=" + h + "&ad_type=" + ad_type + "&ref=" + document.referrer.replace(/&/g,"||") + "&sid=" + (new Date).getTime() + "&visit=" + visit + "&l=" + location.href;
 document.write("<scr" + "ipt type='text/javascript' language='javascript' src='" + script + "'></scr" + "ipt>");
}
